﻿/**
 * File:   aidl_2_json_converter.h
 * Author: AWTK Develop Team
 * Brief:  convert aidl to json
 *
 * Copyright (c) 2018 - 2020  Guangzhou ZHIYUAN Electronics Co.,Ltd.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * License file for more details.
 *
 */

/**
 * History:
 * ================================================================
 * 2020-12-09 zhang zhongji <zhangzhongji@zlg.cn> created
 *
 */

#ifndef TK_AIDL_2_JSON_CONVERTER_H
#define TK_AIDL_2_JSON_CONVERTER_H

#include "tkc/types_def.h"
#include "tkc/str.h"

BEGIN_C_DECLS

/**
 * @method aidl_2_json_converter_convert
 *
 * aidl 转 json
 *
 * @param {const char*} aidl_file aidl file string
 *
 *
 * @return {char*} 带格式的json字符串。
 */

char* aidl_2_json_converter_convert(const char* aidl_file);

END_C_DECLS

#endif /*TK_AIDL_2_JSON_CONVERTER_H*/
